package com.base.server.sys.service;

import org.springframework.stereotype.Component;

import com.base.server.sys.pojo.SysDictType;
import com.system.handle.model.ResponseFrame;

/**
 * sys_dict_type的Service
 * @author admin
 * @date 2019-08-05 16:30:02
 * @version V1.0.0
 */
@Component
public interface SysDictTypeService {
	
	/**
	 * 保存或修改
	 * @param sysDictType
	 * @return
	 */
	public ResponseFrame saveOrUpdate(SysDictType sysDictType);
	
	/**
	 * 根据code获取对象
	 * @param code
	 * @return
	 */
	public SysDictType get(String code);

	/**
	 * 分页获取对象
	 * @param sysDictType
	 * @return
	 */
	public ResponseFrame pageQuery(SysDictType sysDictType);
	
	/**
	 * 根据code删除对象
	 * @param code
	 * @return
	 */
	public ResponseFrame delete(String code);
}